package com.talkology.pilot.database.dao;

import com.talkology.pilot.database.model.PayCount;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface PayCountMapper {
    List<PayCount> getAllByFilter(String number, String consumer, Integer status,
                                  String startTime, String endTime, Integer minAmount);

    int deleteByPrimaryKey(Long index);

    int insert(PayCount record);

    int insertSelective(PayCount record);

    PayCount selectByPrimaryKey(Long index);

    int updateByPrimaryKeySelective(PayCount record);

    int updateByPrimaryKey(PayCount record);
}